package com.flashflexpro.flexdirector.model {
import mx.utils.ObjectUtil;

[Bindable]
[RemoteClass]
public class CodeStringValue {

    public var desc:DescProperty;
    public var code:String;
    public var string:String;
    public var value:Object;

    public function clone ():CodeStringValue {
        var rt:CodeStringValue = new CodeStringValue ();
        rt.code = code;
        rt.string = string;
        rt.value = ObjectUtil.copy (value);
        rt.desc = desc.clone();
        return rt;
    }


    public function toString():String {
        return string;
    }
}
}